<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>usbps: xusbps_endpoint.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">usbps
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xusbps__endpoint_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xusbps_endpoint.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga6daace32113a806a6822a6d5943a93f4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#ga6daace32113a806a6822a6d5943a93f4">XUsbPs_ConfigureDevice</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, const <a class="el" href="struct_x_usb_ps___device_config.html">XUsbPs_DeviceConfig</a> *CfgPtr)</td></tr>
<tr class="memdesc:ga6daace32113a806a6822a6d5943a93f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures the DEVICE side of the controller.  <a href="group__usbps.html#ga6daace32113a806a6822a6d5943a93f4">More...</a><br/></td></tr>
<tr class="separator:ga6daace32113a806a6822a6d5943a93f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bfe53ec45a998d5673b80e11ab4d292"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#ga6bfe53ec45a998d5673b80e11ab4d292">XUsbPs_EpBufferSend</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, u8 EpNum, const u8 *BufferPtr, u32 BufferLen)</td></tr>
<tr class="memdesc:ga6bfe53ec45a998d5673b80e11ab4d292"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends a given data buffer.  <a href="group__usbps.html#ga6bfe53ec45a998d5673b80e11ab4d292">More...</a><br/></td></tr>
<tr class="separator:ga6bfe53ec45a998d5673b80e11ab4d292"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e4c0735be24ea24b73404db8d18133e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#ga1e4c0735be24ea24b73404db8d18133e">XUsbPs_EpBufferSendWithZLT</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, u8 EpNum, const u8 *BufferPtr, u32 BufferLen)</td></tr>
<tr class="memdesc:ga1e4c0735be24ea24b73404db8d18133e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sends a given data buffer and also zero length packet if the Bufferlen is in multiples of endpoint max packet size.  <a href="group__usbps.html#ga1e4c0735be24ea24b73404db8d18133e">More...</a><br/></td></tr>
<tr class="separator:ga1e4c0735be24ea24b73404db8d18133e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0532b9ebbcab7bb72ec6bef692e20faf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#ga0532b9ebbcab7bb72ec6bef692e20faf">XUsbPs_EpGetData</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, u8 EpNum, u32 BufferLen)</td></tr>
<tr class="memdesc:ga0532b9ebbcab7bb72ec6bef692e20faf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function receives a data buffer from the endpoint of the given endpoint number and pass it to the application.  <a href="group__usbps.html#ga0532b9ebbcab7bb72ec6bef692e20faf">More...</a><br/></td></tr>
<tr class="separator:ga0532b9ebbcab7bb72ec6bef692e20faf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac27a9d64ddf33a2400d7493e301a7192"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#gac27a9d64ddf33a2400d7493e301a7192">XUsbPs_EpBufferReceive</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, u8 EpNum, u8 **BufferPtr, u32 *BufferLenPtr, u32 *Handle)</td></tr>
<tr class="memdesc:gac27a9d64ddf33a2400d7493e301a7192"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function receives a data buffer from the endpoint of the given endpoint number.  <a href="group__usbps.html#gac27a9d64ddf33a2400d7493e301a7192">More...</a><br/></td></tr>
<tr class="separator:gac27a9d64ddf33a2400d7493e301a7192"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa01a009151d133f07249d7f932e22f11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#gaa01a009151d133f07249d7f932e22f11">XUsbPs_EpBufferRelease</a> (u32 Handle)</td></tr>
<tr class="memdesc:gaa01a009151d133f07249d7f932e22f11"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns a previously received data buffer to the driver.  <a href="group__usbps.html#gaa01a009151d133f07249d7f932e22f11">More...</a><br/></td></tr>
<tr class="separator:gaa01a009151d133f07249d7f932e22f11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadbe72ae98e3bc73150a650f5f8e5c34f"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#gadbe72ae98e3bc73150a650f5f8e5c34f">XUsbPs_EpDataBufferReceive</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, u8 EpNum, u8 *BufferPtr, u32 BufferLen)</td></tr>
<tr class="memdesc:gadbe72ae98e3bc73150a650f5f8e5c34f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function receives a data buffer from the endpoint of the given endpoint number.  <a href="group__usbps.html#gadbe72ae98e3bc73150a650f5f8e5c34f">More...</a><br/></td></tr>
<tr class="separator:gadbe72ae98e3bc73150a650f5f8e5c34f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04fb0b564bcd01cdf33e29ca2732656a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#ga04fb0b564bcd01cdf33e29ca2732656a">XUsbPs_EpSetHandler</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, u8 EpNum, u8 Direction, XUsbPs_EpHandlerFunc CallBackFunc, void *CallBackRef)</td></tr>
<tr class="memdesc:ga04fb0b564bcd01cdf33e29ca2732656a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the handler for endpoint events.  <a href="group__usbps.html#ga04fb0b564bcd01cdf33e29ca2732656a">More...</a><br/></td></tr>
<tr class="separator:ga04fb0b564bcd01cdf33e29ca2732656a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5eb603906d381d4a426a3d24fc2082a0"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#ga5eb603906d381d4a426a3d24fc2082a0">XUsbPs_EpSetIsoHandler</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, u8 EpNum, u8 Direction, XUsbPs_EpIsoHandlerFunc CallBackFunc)</td></tr>
<tr class="memdesc:ga5eb603906d381d4a426a3d24fc2082a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the handler for ISO endpoint events.  <a href="group__usbps.html#ga5eb603906d381d4a426a3d24fc2082a0">More...</a><br/></td></tr>
<tr class="separator:ga5eb603906d381d4a426a3d24fc2082a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaba0ae2eac9c6b402e32e401333a5b105"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#gaba0ae2eac9c6b402e32e401333a5b105">XUsbPs_EpPrime</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, u8 EpNum, u8 Direction)</td></tr>
<tr class="memdesc:gaba0ae2eac9c6b402e32e401333a5b105"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function primes an endpoint.  <a href="group__usbps.html#gaba0ae2eac9c6b402e32e401333a5b105">More...</a><br/></td></tr>
<tr class="separator:gaba0ae2eac9c6b402e32e401333a5b105"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91c44ff9dcae2e47ed8112c8a0779fa1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#ga91c44ff9dcae2e47ed8112c8a0779fa1">XUsbPs_EpGetSetupData</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, int EpNum, <a class="el" href="struct_x_usb_ps___setup_data.html">XUsbPs_SetupData</a> *SetupDataPtr)</td></tr>
<tr class="memdesc:ga91c44ff9dcae2e47ed8112c8a0779fa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function extracts the Setup Data from a given endpoint.  <a href="group__usbps.html#ga91c44ff9dcae2e47ed8112c8a0779fa1">More...</a><br/></td></tr>
<tr class="separator:ga91c44ff9dcae2e47ed8112c8a0779fa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90aab040f015299b2064124bed882896"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbps.html#ga90aab040f015299b2064124bed882896">XUsbPs_ReconfigureEp</a> (<a class="el" href="struct_x_usb_ps.html">XUsbPs</a> *InstancePtr, <a class="el" href="struct_x_usb_ps___device_config.html">XUsbPs_DeviceConfig</a> *CfgPtr, int EpNum, unsigned short NewDirection, int DirectionChanged)</td></tr>
<tr class="memdesc:ga90aab040f015299b2064124bed882896"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reconfigures one Ep corresponding to host's request of setting alternate interface.  <a href="group__usbps.html#ga90aab040f015299b2064124bed882896">More...</a><br/></td></tr>
<tr class="separator:ga90aab040f015299b2064124bed882896"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
